<?xml version="1.0" ?>
<Configuration Environment="Dev" Version="0.3.0">
  <Farm>
    <Database>
      <DBServer>server\instance</DBServer>
      <DBPrefix>SPS</DBPrefix>
    </Database>
    <ManagedAccounts>
      <ManagedAccount username="domain\spspap" Password=""/>
      <ManagedAccount username="domain\spsmap" Password=""/>
    </ManagedAccounts>
    <ObjectCacheAccounts>
      <SuperUser>domain\SPSCacheSuperUser</SuperUser>
      <SuperReader>domain\SPSCacheSuperReader</SuperReader>
    </ObjectCacheAccounts>
    <UserSolutions>
      <UserSolution path="Solutions\Community.SharePoint.PdfIcon.wsp"
				name="Community.SharePoint.PdfIcon.wsp"
				farm="true"
				retractable="true" />
    </UserSolutions>
    <Features>
      <Feature name="Community.SharePoint.PdfIcon"
				activate="true" />
    </Features>
    <Quotas>
      <Quota name="Portal Site Quota"
				maxstorage="100000"
				storagewarning="50000"
				maxpoints="300"
				pointswarning="200" />
    </Quotas>
    <OutGoingEmail smtpserver="mail.domain.com"
			fromemail="admin@domain.com"
			toemail="admin@domain.com"
			characterset="65001" />
  </Farm>
  <WebApplications>
    <WebApplication name="Portal"
			applicationPool="SharePoint - Portal - 80"
			applicationPoolAccount="domain\spspap"
			url="http://localhost"
			port="80"
			databaseName="Content_Portal"
			useClaims="true"
			retractable="true"
			deleteIIS="true"
			deletecontentdatabases="true"
			defaultQuota="Portal Site Quota"
			maxFileSize="100"
			daystoshownewindicator="3">
      <ManagedPaths>
        <ManagedPath relativeUrl="sites" explicit="false" />
      </ManagedPaths>
      <!--<UserSolutions>
				<UserSolution path="Solutions\solutionname.wsp" 
					name="solutionname"
					farm="false" 
					retractable="true" />
			</UserSolutions>-->
      <!--<Features>
				<Feature name="webappfeature"
					activate="true" />
			</Features>-->
      <ContentDatabases>
        <ContentDatabase name="Content_Portal"
					dbserver="server\instance"
					maxsitecount="1"
					warningsitecount="0" />
        <ContentDatabase name="Content_Records"
					dbserver="server\instance"
					maxsitecount="1"
					warningsitecount="0" />
      </ContentDatabases>
      <!--<OutGoingEmail smtpserver="mail2.domain.com"
				fromemail="admin@domain.com"
				toemail="admin@domain.com"
				characterset="65001" />-->
      <SelfService allowselfservice="true"
				requiresecondarycontact="false" />
      <SiteCollections>
        <SiteCollection url="http://localhost"
					owner="domain\spsinstall"
					name="Portal"
					description="Portal Home Site"
					Template="BLANKINTERNET#2"
					databaseName="Content_Portal"
					quota="Portal Site Quota"
					LCID="1033"
					retractable="true">
          <Features>
            <Feature name="PremiumSite"
							activate="true" />
            <Feature name="BaseSite"
							activate="true" />
            <Feature name="DocId"
							activate="true" />
            <Feature name="DocumentSet"
							activate="true" />
            <Feature name="TeamCollab"
							activate="true"
							scope="web" />
            <!-- scope=web is used for web based features at the root site of the site collection -->
          </Features>
          <!-- Global web features are activated in every web in a site collection -->
          <!--<GlobalFeatures>
            <Feature name="featurename"
								activate="true" />
          </GlobalFeatures>-->
          <Webs>
            <Web url="http://localhost/sales"
							name="Sales Site"
							description="Sales team site"
							quicklaunch = "true"
							topnav = "false"
							uniquepermissions = "false"
							parenttopnav = "true"
							template="STS#0"
							LCID="1033"
							retractable="true">
              <!--<Features>
				        <Feature name="webfeature"
					        activate="true" />
			        </Features>-->
              <Webs>
                <Web url="http://localhost/sales/projectteam"
									name="Project Team"
									description="Project Team Site"
									quicklaunch = "false"
									topnav = "false"
									uniquepermissions = "true"
									parenttopnav = "false"
									template="MPS#0"
									LCID="1033"
									retractable="true">
                <!--<Features>
				          <Feature name="webfeature"
					          activate="true" />
			          </Features>-->
                </Web>
              </Webs>
            </Web>
            <Web url="http://localhost/search"
							name="Search Center"
							description="Search items, people and documents"
							quicklaunch = "true"
							topnav = "false"
							uniquepermissions = "false"
							parenttopnav = "true"
							template="SRCHCEN#0"
							LCID="1033"
							retractable="true">
            </Web>
            <Web url="http://localhost/docs"
							name="Document Center"
							description="Centralized site to store documents"
							quicklaunch = "true"
							topnav = "false"
							uniquepermissions = "false"
							parenttopnav = "true"
							template="BDR#0"
							LCID="1033"
							retractable="true">
              <Features>
                <Feature name="DocumentRouting"
									activate="true" />
              </Features>
            </Web>
            <Web url="http://localhost/hr"
							name="HR"
							description="HR Team Site"
							quicklaunch = "true"
							topnav = "false"
							uniquepermissions = "false"
							parenttopnav = "true"
							template="STS#0"
							LCID="1033"
							retractable="true">
              <Webs>
                <Web url="http://localhost/hr/pension"
									name="Pension Team"
									description="Pension Team Site"
									quicklaunch = "true"
									topnav = "false"
									uniquepermissions = "false"
									parenttopnav = "true"
									template="STS#2"
									LCID="1033"
									retractable="true">
                </Web>
                <Web url="http://localhost/hr/benefits"
									name="Benefits Team"
									description="Benefits Team Site"
									quicklaunch = "true"
									topnav = "false"
									uniquepermissions = "false"
									parenttopnav = "true"
									template="STS#0"
									LCID="1033"
									retractable="true">
                </Web>
              </Webs>
            </Web>
          </Webs>
        </SiteCollection>
        <SiteCollection url="http://localhost/sites/records"
					owner="domain\spsinstall"
					name="Records Center"
					description="Site to store records"
					Template="OFFILE#1"
					databaseName="Content_Records"
					LCID="1033"
					retractable="true">
        </SiteCollection>
      </SiteCollections>
    </WebApplication>
    <WebApplication name="MySiteHost"
			applicationPool="SharePoint - MySites - 80"
			applicationPoolAccount="domain\spsmap"
			url="http://mysites.domain.com"
			port="80"
			databaseName="Content_MySites_001"
			useClaims="true"
			retractable="true"
			deleteIIS="true"
			deletecontentdatabases="true"
			defaultQuota="Personal Site"
			daystoshownewindicator="3">
      <ContentDatabases>
        <ContentDatabase name="Content_MySites_001"
					dbserver="server\instance"
					maxsitecount="1000"
					warningsitecount="800" />
        <ContentDatabase name="Content_MySites_002"
					dbserver="server\instance"
					maxsitecount="1000"
					warningsitecount="800" />
      </ContentDatabases>
      <ManagedPaths>
        <ManagedPath relativeUrl="personal" explicit="false"/>
        <ManagedPath relativeUrl="sites" delete="true" />
      </ManagedPaths>
      <SelfService allowselfservice="true"
				requiresecondarycontact="false" />
      <SiteCollections>
        <SiteCollection url="http://mysites.domain.com"
					owner="domain\spsinstall"
					name="My Site Host"
					description="My Site Host"
					Template="SPSMSITEHOST#0"
					databaseName="Content_MySites_001"
					LCID="1033"
					retractable="true" />
      </SiteCollections>
    </WebApplication>
  </WebApplications>
</Configuration>